'use strict';
module.exports = (app) => {
  const { STRING, INTEGER, TEXT } = app.Sequelize;
  const LikeComment = app.model.define('b_likeComment', {
    id: {
      type: INTEGER,
      primaryKey: true,
      autoIncrement: true,
    },
    commentId: {
      comment: '评论id',
      type: INTEGER,
      allowNull: false,
    },
    blogId: {
      comment: '博客id',
      type: INTEGER,
      allowNull: false,
    },
    likeUserId: {
      comment: '点赞的用户id',
      type: INTEGER,
      allowNull: false,
    },
    projectId: {
      comment: '所属项目id',
      type: INTEGER,
      allowNull: false,
    },
  });
  return LikeComment;
};
